<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <button id="demo">点击</button>
    <script>
        document.getElementById("demo").addEventListener('click', (event) => {
            let jsWindow = window.open(
                'http://127.0.0.1:3000/es-tutotial/jsbom/windowdemo/about.html',
                'about',
                'height=600,width=800');
            setTimeout(() => {
                jsWindow.resizeTo(600, 300);

            }, 1000);
        });
    </script>
</body>


</html>